package com.example.produces.mapper;

import com.example.produces.entity.RawReturn;
import com.example.produces.entity.Seller;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository//数据访问层 (DAO 层 ) 的类标识为bean
public interface SellerMapper {
    List<Seller> findAll();
    void add(Seller seller);
    Seller findOne(String name);
    void upDate(Seller seller);
    void delete(String name);
}
